package com.mengtian_tech.smart_lab.entity.student;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
import org.jeecgframework.poi.excel.annotation.Excel;

/**   
 * 学生账户信息
 *
 */
/**
 * @author Administrator
 *
 */
@Entity
@Table(name = "student_account_info", schema = "")
@SuppressWarnings("serial")
public class StudentAccount implements java.io.Serializable {
	/**主键*/
	private java.lang.String id;
	 
	/**学号*/
	@Excel(name="学号")
	private java.lang.String stuNo;
	
	/** 余额  */
	@Excel(name="余额")
	private BigDecimal balance;
	
	@Column(name="user_id")
	private String userId;
	
	@Column(name="user_name")
	private String userName;
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  主键
	 */
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name ="ID",nullable=false,length=36)
	public java.lang.String getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  主键
	 */
	public void setId(java.lang.String id){
		this.id = id;
	}

	@Column(name="stu_no")
	public java.lang.String getStuNo() {
		return stuNo;
	}

	
	public void setStuNo(java.lang.String stuNo) {
		this.stuNo = stuNo;
	}

	@Column(name="account_balance")
	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	 
}
